﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PkwHCFramework.Communications
{
    public class RegisterPoint
    {
        public string UID { get; set; }

        public string Name { get; set; }

        /// <summary>
        /// 数据类型
        /// </summary>
        public Type Type { get; set; }

        /// <summary>
        /// 寄存器类型
        /// </summary>
        public string RegisterType { get; set; }

        public int Address { get; set; }

        public int Length { get; set; }

        public string DeviceId { get; set; }

        public string Tag { get; set; }

        /// <summary>
        /// 当前值
        /// </summary>
        public object Value { get; set; }

        /// <summary>
        /// 写入值
        /// </summary>
        public object WriteValue { get; set; }
    }
}
